{
 "cells": [
  {
   "cell_type": "markdown",
   "source": [
    "### 简单数据类型"
   ],
   "metadata": {
    "collapsed": false
   }
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "10 <class 'int'>\n",
      "10.23 <class 'float'>\n",
      "Hello, World! <class 'str'>\n",
      "True <class 'bool'>\n",
      "False <class 'bool'>\n"
     ]
    }
   ],
   "source": [
    "# 数值类型\n",
    "d = 10\n",
    "print(d, type(d))\n",
    "\n",
    "d = 10.23\n",
    "print(d, type(d))\n",
    "\n",
    "s = \"Hello, World!\"\n",
    "print(s, type(s))\n",
    "\n",
    "b1 = True\n",
    "print(b1, type(b1))\n",
    "\n",
    "b2 = False\n",
    "print(b2, type(b2))"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}